package com.brillilab.service.core.method;

import com.brillilab.domain.po.method.MethodLabView;

public interface IMethodLabViewService {
    /**
     * @return boolean
     * @Description: updateById
     * @Params: [labView]
     * @author wuzhiyu
     * @date 2019/2/26 17:25
     */
    boolean updateById(MethodLabView labView);

    MethodLabView selectOne(Long labId, Long userId, Long thirdTypeId);

    /**
     * @return boolean
     * @Description: save
     * @Params: [view]
     * @author wuzhiyu
     * @date 2019/2/26 17:25
     */
    boolean save(MethodLabView view);

    /**
     * @return com.brillilab.domain.po.method.MethodLabView
     * @Description: 通过initMethodId获取 MethodLabView记录
     * @Params: [initMethodId]
     * @author wuzhiyu
     * @date 2019/2/26 17:26
     */
    MethodLabView getByInitMethodId(Long initMethodId);

    /**
     * 实验室方法总数
     * @param labId
     * @return
     */
	int getMethodCount(Long labId);
}
